package com.sy.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.sy.dto.EmployeeDTO;
import com.sy.dto.EmployeeLoginDTO;
import com.sy.dto.EmployeePageQueryDTO;
import com.sy.pojo.Employee;
import com.sy.result.PageResult;

public interface EmployeeService extends IService<Employee> {
    Employee login(EmployeeLoginDTO employeeLoginDTO);

    /**
     * 员工分页查询
     * @param employeePageQueryDTO
     * @return
     */
    PageResult findAll(EmployeePageQueryDTO employeePageQueryDTO);

    /**
     * 新增员工信息
     * @param employeeDTO
     */
    void saveEmp(EmployeeDTO employeeDTO);
}
